<?php
		header('Content-type:text/html;charset=utf-8');
		$con=mysql_connect('localhost','root','');
		if(!$con)die('连接失败'.mysql_error());
		$use=mysql_select_db('netCatch',$con);
		mysql_query("SET NAMES GBK");
		$info=mysql_query('select * from netCatch_table order by id  desc',$con);
		if(!$info)die('读取失败'.mysql_error());
		else 
		{
		echo '成功';
		print_r(mysql_fetch_array($info));
		mysql_close();
		}
		
		
		
?>
		
		